package com.thirteen.app.entity;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 主观题提交(Papersubjective)实体类
 *
 * @author makejava
 * @since 2021-09-06 08:53:42
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("用户")
public class PaperSubjective implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 学生提交的答案的ID
     */
    private Integer answerId;
    /**
     * 考试记录ID
     */
    private Integer recordId;
    /**
     * 题目ID
     */
    private Integer questionId;
    /**
     * 题目类型，区分填空题与简答题
     */
    private Integer quType;
    /**
     * 是否已答
     */
    private Object answered;
    /**
     * 主观答案
     */
    private String answer;
    /**
     * 问题排序
     */
    private Integer sort;
    /**
     * 单题分分值
     */
    private Integer score;
    /**
     * 实际得分(主观题)
     */
    private Integer actualscore;
    /**
     * 是否答对
     */
    private boolean isRight;
    /**
     * 若是填空题则为填空题数量
     */
    private Integer answerCount;

}
